﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecimalToBinary
{
    class DecimalToBinary
    {
        static void Main(string[] args)
        {
        }
        static string ToBinary(int number)
        {

            StringBuilder sb = new StringBuilder();
            bool nagative = number < 0;
            if (nagative)
                number = ~number;
            while (number > 0)
            {
                sb.Append(number % 2);
                number /= 2;
            }
            return sb.ToString();

        }
        static void InverseBits(StringBuilder binary)
        {
            binary.Append(new string('0', 32 - binary.Length));

        }
    }
}
